//
//  LoginViewController.swift
//  LazyCloset
//
//  Created by Wu YiYun on 14-11-6.
//  Copyright (c) 2014年 Wu YiYun. All rights reserved.
//

import UIKit

class LoginViewController: UIViewController{

    @IBOutlet weak var regButton: UIButton!
    @IBOutlet weak var loginButton: UIButton!
    
    @IBOutlet weak var usernameTexfield: UITextField!
    @IBOutlet weak var passwordTextfiled: UITextField!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        regButton.layer.masksToBounds = true
        regButton.layer.cornerRadius = 8.0
        regButton.layer.borderWidth = 1.0
        loginButton.layer.masksToBounds = true
        loginButton.layer.cornerRadius = 8.0
        loginButton.layer.borderWidth = 1.0
        var colorSpace:CGColorSpaceRef = CGColorSpaceCreateDeviceRGB()
        var colorref:CGColorRef = CGColorCreate(colorSpace, [CGFloat](arrayLiteral: 0,0,0,1))
        regButton.layer.borderColor = colorref
        loginButton.layer.borderColor = colorref

    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
}
